package top.songxs.dao;

import top.songxs.base.BaseDao;
import top.songxs.entity.Dict;

import java.util.List;

public interface DictDao extends BaseDao<Dict> {
    List<Dict> findZnodes(Long parentId);

    Integer countIsParent(Long id);

    Dict getByDictCode(String dictCode);

    String getNameById(Long id);
}
